package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SmsHomeAdvModel = (*customSmsHomeAdvModel)(nil)

type (
	// SmsHomeAdvModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSmsHomeAdvModel.
	SmsHomeAdvModel interface {
		smsHomeAdvModel
	}

	customSmsHomeAdvModel struct {
		*defaultSmsHomeAdvModel
	}
)

// NewSmsHomeAdvModel returns a model for the database table.
func NewSmsHomeAdvModel(conn sqlx.SqlConn) SmsHomeAdvModel {
	return &customSmsHomeAdvModel{
		defaultSmsHomeAdvModel: newSmsHomeAdvModel(conn),
	}
}
